// generating config files for a physical node
// Created: Apr. 14, 2023 by SUN Yazhou, asia.rabbit@163.com

#ifndef MC_h
#define MC_h

#include "PN.h"
#include "CMC.h"

class MC : public PN{
public:
  MC(const YAML::Node &n);
  virtual ~MC();

  virtual void Ln(); // configure all the lns
  // make connections via the 3 streams (DATA, CMD and STA) //
  virtual CMC &operator>>(CMC &pn); // this -> pn

protected:
  // the interface to the other crates //
  LN *fTsmData;
  LN *fRcvCmd;
  LN *fTsmSta;
};

#endif
